package com.ztjava.member.model;

import com.jfinal.plugin.activerecord.Model;
import com.ztjava.core.HModel;

public class MemberAddress extends Model<MemberAddress> implements HModel{
	public static MemberAddress dao = new MemberAddress();
	public static String tablename = "h_member_address";
	
	private String[][] columns = new String[][]{
			new String[]{"user_id","int","11"},
			new String[]{"name","varchar","30"},
			new String[]{"phone","varchar","30"},
			new String[]{"province_id","int","11"},
			new String[]{"province","varchar","40"},
			new String[]{"city_id","int","11"},
			new String[]{"city","varchar","40"},
			new String[]{"district_id","int","11"},
			new String[]{"district","varchar","40"},
			new String[]{"detailed","varchar","100"},
			new String[]{"is_default","varchar","1","T"}
	};
	@Override
	public String[][] getColumns() {
		// TODO Auto-generated method stub
		return columns;
	}
	@Override
	public String getTablename() {
		// TODO Auto-generated method stub
		return tablename;
	}
}
